CellRendererPixbuf: Link stock-size doc → IconSize
authorDaniel Boles <dboles@src.gnome.org>
Wed, 22 Nov 2017 18:57:48 +0000 (18:57 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 22 Nov 2017 20:48:11 +0000 (20:48 +0000)
Add a doc comment for :stock-size in order to link to GtkIconSize.

gtk/gtkcellrendererpixbuf.c

index 54c35124d796c998de9314012db1969746f8fa2d..b9cce687b20c4aba05ca70c2863ba19e14a899d0 100644 (file)
@@ -185,6 +185,13 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
                                                         GDK_TYPE_TEXTURE,
                                                        GTK_PARAM_READWRITE));
 
+  /**
+   * GtkCellRendererPixbuf:stock-size:
+   *
+   * The #GtkIconSize value that specifies the size of the rendered icon.
+   *
+   * Since: 2.2
+   */
   g_object_class_install_property (object_class,
                                   PROP_STOCK_SIZE,
                                   g_param_spec_uint ("stock-size",